package scauCmiScaffolding.compiled;

import org.eclipse.jet.JET2Context;
import org.eclipse.jet.JET2Template;
import org.eclipse.jet.JET2Writer;
import org.eclipse.jet.taglib.RuntimeTagElement;
import org.eclipse.jet.taglib.TagInfo;

public class _jet_main implements JET2Template {
    private static final String _jetns_c = "org.eclipse.jet.controlTags"; //$NON-NLS-1$
    private static final String _jetns_ws = "org.eclipse.jet.workspaceTags"; //$NON-NLS-1$

    public _jet_main() {
        super();
    }

    private static final String NL = System.getProperty("line.separator"); //$NON-NLS-1$
    
    private static final TagInfo _td_c_include_4_1 = new TagInfo("c:include", //$NON-NLS-1$
            4, 1,
            new String[] {
                "template", //$NON-NLS-1$
            },
            new String[] {
                "templates/content/varibles.jet", //$NON-NLS-1$
            } );
    private static final TagInfo _td_ws_project_7_1 = new TagInfo("ws:project", //$NON-NLS-1$
            7, 1,
            new String[] {
                "name", //$NON-NLS-1$
            },
            new String[] {
                "{$projectName}", //$NON-NLS-1$
            } );
    private static final TagInfo _td_ws_folder_11_1 = new TagInfo("ws:folder", //$NON-NLS-1$
            11, 1,
            new String[] {
                "path", //$NON-NLS-1$
            },
            new String[] {
                "{$projectName}/src", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_include_15_1 = new TagInfo("c:include", //$NON-NLS-1$
            15, 1,
            new String[] {
                "template", //$NON-NLS-1$
            },
            new String[] {
                "templates/process/{$framework}/configureProcess.jet", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_include_19_1 = new TagInfo("c:include", //$NON-NLS-1$
            19, 1,
            new String[] {
                "template", //$NON-NLS-1$
            },
            new String[] {
                "templates/process/{$framework}/classProcess.jet", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_include_26_1 = new TagInfo("c:include", //$NON-NLS-1$
            26, 1,
            new String[] {
                "template", //$NON-NLS-1$
            },
            new String[] {
                "templates/process/{$framework}/jspProcess.jet", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_include_29_1 = new TagInfo("c:include", //$NON-NLS-1$
            29, 1,
            new String[] {
                "template", //$NON-NLS-1$
            },
            new String[] {
                "templates/process/{$framework}/cssProcess.jet", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_include_30_1 = new TagInfo("c:include", //$NON-NLS-1$
            30, 1,
            new String[] {
                "template", //$NON-NLS-1$
            },
            new String[] {
                "templates/process/{$framework}/jsProcess.jet", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_include_31_1 = new TagInfo("c:include", //$NON-NLS-1$
            31, 1,
            new String[] {
                "template", //$NON-NLS-1$
            },
            new String[] {
                "templates/process/{$framework}/fontProcess.jet", //$NON-NLS-1$
            } );

    public void generate(final JET2Context context, final JET2Writer __out) {
        JET2Writer out = __out;
        out.write(NL);         
        //  定义项目所用到的变量  
        RuntimeTagElement _jettag_c_include_4_1 = context.getTagFactory().createRuntimeTag(_jetns_c, "include", "c:include", _td_c_include_4_1); //$NON-NLS-1$ //$NON-NLS-2$
        _jettag_c_include_4_1.setRuntimeParent(null);
        _jettag_c_include_4_1.setTagInfo(_td_c_include_4_1);
        _jettag_c_include_4_1.doStart(context, out);
        _jettag_c_include_4_1.doEnd();
        out.write(NL);         
        //创建Java项目 
        RuntimeTagElement _jettag_ws_project_7_1 = context.getTagFactory().createRuntimeTag(_jetns_ws, "project", "ws:project", _td_ws_project_7_1); //$NON-NLS-1$ //$NON-NLS-2$
        _jettag_ws_project_7_1.setRuntimeParent(null);
        _jettag_ws_project_7_1.setTagInfo(_td_ws_project_7_1);
        _jettag_ws_project_7_1.doStart(context, out);
        while (_jettag_ws_project_7_1.okToProcessBody()) {
            _jettag_ws_project_7_1.handleBodyContent(out);
        }
        _jettag_ws_project_7_1.doEnd();
        out.write(NL);         
        //创建src源文件夹 
        RuntimeTagElement _jettag_ws_folder_11_1 = context.getTagFactory().createRuntimeTag(_jetns_ws, "folder", "ws:folder", _td_ws_folder_11_1); //$NON-NLS-1$ //$NON-NLS-2$
        _jettag_ws_folder_11_1.setRuntimeParent(null);
        _jettag_ws_folder_11_1.setTagInfo(_td_ws_folder_11_1);
        _jettag_ws_folder_11_1.doStart(context, out);
        while (_jettag_ws_folder_11_1.okToProcessBody()) {
            _jettag_ws_folder_11_1.handleBodyContent(out);
        }
        _jettag_ws_folder_11_1.doEnd();
        out.write(NL);         
        // 生成配置文件  
        RuntimeTagElement _jettag_c_include_15_1 = context.getTagFactory().createRuntimeTag(_jetns_c, "include", "c:include", _td_c_include_15_1); //$NON-NLS-1$ //$NON-NLS-2$
        _jettag_c_include_15_1.setRuntimeParent(null);
        _jettag_c_include_15_1.setTagInfo(_td_c_include_15_1);
        _jettag_c_include_15_1.doStart(context, out);
        _jettag_c_include_15_1.doEnd();
        out.write(NL);         
        out.write(NL);         
        // 生成java代码  
        RuntimeTagElement _jettag_c_include_19_1 = context.getTagFactory().createRuntimeTag(_jetns_c, "include", "c:include", _td_c_include_19_1); //$NON-NLS-1$ //$NON-NLS-2$
        _jettag_c_include_19_1.setRuntimeParent(null);
        _jettag_c_include_19_1.setTagInfo(_td_c_include_19_1);
        _jettag_c_include_19_1.doStart(context, out);
        _jettag_c_include_19_1.doEnd();
        out.write(NL);         
        out.write(NL);         
        //<c:include template="templates/process/{$framework}/classProcessTest.jet"/>
        out.write(NL);         
        out.write(NL);         
        // 生成jsp代码  
        RuntimeTagElement _jettag_c_include_26_1 = context.getTagFactory().createRuntimeTag(_jetns_c, "include", "c:include", _td_c_include_26_1); //$NON-NLS-1$ //$NON-NLS-2$
        _jettag_c_include_26_1.setRuntimeParent(null);
        _jettag_c_include_26_1.setTagInfo(_td_c_include_26_1);
        _jettag_c_include_26_1.doStart(context, out);
        _jettag_c_include_26_1.doEnd();
        out.write(NL);         
        // 复制css和js文件，jet文件转换的时候有大小限制，因此将css文件分解成2个文件  
        RuntimeTagElement _jettag_c_include_29_1 = context.getTagFactory().createRuntimeTag(_jetns_c, "include", "c:include", _td_c_include_29_1); //$NON-NLS-1$ //$NON-NLS-2$
        _jettag_c_include_29_1.setRuntimeParent(null);
        _jettag_c_include_29_1.setTagInfo(_td_c_include_29_1);
        _jettag_c_include_29_1.doStart(context, out);
        _jettag_c_include_29_1.doEnd();
        RuntimeTagElement _jettag_c_include_30_1 = context.getTagFactory().createRuntimeTag(_jetns_c, "include", "c:include", _td_c_include_30_1); //$NON-NLS-1$ //$NON-NLS-2$
        _jettag_c_include_30_1.setRuntimeParent(null);
        _jettag_c_include_30_1.setTagInfo(_td_c_include_30_1);
        _jettag_c_include_30_1.doStart(context, out);
        _jettag_c_include_30_1.doEnd();
        RuntimeTagElement _jettag_c_include_31_1 = context.getTagFactory().createRuntimeTag(_jetns_c, "include", "c:include", _td_c_include_31_1); //$NON-NLS-1$ //$NON-NLS-2$
        _jettag_c_include_31_1.setRuntimeParent(null);
        _jettag_c_include_31_1.setTagInfo(_td_c_include_31_1);
        _jettag_c_include_31_1.doStart(context, out);
        _jettag_c_include_31_1.doEnd();
        out.write(NL);         
        out.write(NL);         
        // 复制报表中的内容，因为jar包冲突，集成到EMA项目中有冲突，目前暂时不用
        //	<c:include template="templates/process/{$framework}/birtProcess.jet"/>
        // 
        out.write(NL);         
        // 复制image文件  
        //<c:include template="templates/process/{$framework}/imageProcess.jet"/>
        //
        //<c:include template="templates/process/{$framework}/birtProcess.jet"/>
        //
        //<c:include template="templates/process/{$framework}/jaxwsProcess.jet"/>
        out.write(NL);         
        //wechat相关
        //<c:include template="templates/process/{$framework}/wechatProcess.jet"/>
    }
}
